<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>robotide.editor.gridcolorizer</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="robotide-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://code.google.com/p/robotframework-ride">RIDE</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="robotide-module.html">Package&nbsp;robotide</a> ::
        <a href="robotide.editor-module.html">Package&nbsp;editor</a> ::
        Module&nbsp;gridcolorizer
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
      </table>
    </td>
  </tr>
</table>
<h1 class="epydoc">Source Code for <a href="robotide.editor.gridcolorizer-module.html">Module robotide.editor.gridcolorizer</a></h1>
<pre class="py-src">
<a name="L1"></a><tt class="py-lineno">  1</tt>  <tt class="py-line"><tt class="py-comment">#  Copyright 2008-2009 Nokia Siemens Networks Oyj</tt> </tt>
<a name="L2"></a><tt class="py-lineno">  2</tt>  <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L3"></a><tt class="py-lineno">  3</tt>  <tt class="py-line"><tt class="py-comment">#  Licensed under the Apache License, Version 2.0 (the "License");</tt> </tt>
<a name="L4"></a><tt class="py-lineno">  4</tt>  <tt class="py-line"><tt class="py-comment">#  you may not use this file except in compliance with the License.</tt> </tt>
<a name="L5"></a><tt class="py-lineno">  5</tt>  <tt class="py-line"><tt class="py-comment">#  You may obtain a copy of the License at</tt> </tt>
<a name="L6"></a><tt class="py-lineno">  6</tt>  <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L7"></a><tt class="py-lineno">  7</tt>  <tt class="py-line"><tt class="py-comment">#      http://www.apache.org/licenses/LICENSE-2.0</tt> </tt>
<a name="L8"></a><tt class="py-lineno">  8</tt>  <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L9"></a><tt class="py-lineno">  9</tt>  <tt class="py-line"><tt class="py-comment">#  Unless required by applicable law or agreed to in writing, software</tt> </tt>
<a name="L10"></a><tt class="py-lineno"> 10</tt>  <tt class="py-line"><tt class="py-comment">#  distributed under the License is distributed on an "AS IS" BASIS,</tt> </tt>
<a name="L11"></a><tt class="py-lineno"> 11</tt>  <tt class="py-line"><tt class="py-comment">#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</tt> </tt>
<a name="L12"></a><tt class="py-lineno"> 12</tt>  <tt class="py-line"><tt class="py-comment">#  See the License for the specific language governing permissions and</tt> </tt>
<a name="L13"></a><tt class="py-lineno"> 13</tt>  <tt class="py-line"><tt class="py-comment">#  limitations under the License.</tt> </tt>
<a name="L14"></a><tt class="py-lineno"> 14</tt>  <tt class="py-line"> </tt>
<a name="L15"></a><tt class="py-lineno"> 15</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-0" class="py-name" targets="Package robotide=robotide-module.html"><a title="robotide" class="py-name" href="#" onclick="return doclink('link-0', 'robotide', 'link-0');">robotide</a></tt><tt class="py-op">.</tt><tt id="link-1" class="py-name" targets="Package robotide.controller=robotide.controller-module.html,Variable robotide.controller.tags.Tag.controller=robotide.controller.tags.Tag-class.html#controller"><a title="robotide.controller
robotide.controller.tags.Tag.controller" class="py-name" href="#" onclick="return doclink('link-1', 'controller', 'link-1');">controller</a></tt><tt class="py-op">.</tt><tt id="link-2" class="py-name" targets="Module robotide.controller.cellinfo=robotide.controller.cellinfo-module.html"><a title="robotide.controller.cellinfo" class="py-name" href="#" onclick="return doclink('link-2', 'cellinfo', 'link-2');">cellinfo</a></tt> <tt class="py-keyword">import</tt> <tt id="link-3" class="py-name" targets="Class robotide.controller.cellinfo.CellType=robotide.controller.cellinfo.CellType-class.html"><a title="robotide.controller.cellinfo.CellType" class="py-name" href="#" onclick="return doclink('link-3', 'CellType', 'link-3');">CellType</a></tt> </tt>
<a name="L16"></a><tt class="py-lineno"> 16</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">wx</tt> </tt>
<a name="L17"></a><tt class="py-lineno"> 17</tt>  <tt class="py-line"><tt class="py-comment"># this import fails in HUDSON</tt> </tt>
<a name="L18"></a><tt class="py-lineno"> 18</tt>  <tt class="py-line"><tt class="py-comment"># from wxPython._gdi import wxFONTWEIGHT_BOLD, wxFONTWEIGHT_NORMAL</tt> </tt>
<a name="L19"></a><tt class="py-lineno"> 19</tt>  <tt class="py-line"><tt id="link-4" class="py-name" targets="Variable robotide.editor.gridcolorizer.wxFONTWEIGHT_BOLD=robotide.editor.gridcolorizer-module.html#wxFONTWEIGHT_BOLD"><a title="robotide.editor.gridcolorizer.wxFONTWEIGHT_BOLD" class="py-name" href="#" onclick="return doclink('link-4', 'wxFONTWEIGHT_BOLD', 'link-4');">wxFONTWEIGHT_BOLD</a></tt> <tt class="py-op">=</tt> <tt class="py-number">92</tt> </tt>
<a name="L20"></a><tt class="py-lineno"> 20</tt>  <tt class="py-line"><tt id="link-5" class="py-name" targets="Variable robotide.editor.gridcolorizer.wxFONTWEIGHT_NORMAL=robotide.editor.gridcolorizer-module.html#wxFONTWEIGHT_NORMAL"><a title="robotide.editor.gridcolorizer.wxFONTWEIGHT_NORMAL" class="py-name" href="#" onclick="return doclink('link-5', 'wxFONTWEIGHT_NORMAL', 'link-5');">wxFONTWEIGHT_NORMAL</a></tt> <tt class="py-op">=</tt> <tt class="py-number">90</tt> </tt>
<a name="L21"></a><tt class="py-lineno"> 21</tt>  <tt class="py-line"> </tt>
<a name="Colorizer"></a><div id="Colorizer-def"><a name="L22"></a><tt class="py-lineno"> 22</tt> <a class="py-toggle" href="#" id="Colorizer-toggle" onclick="return toggle('Colorizer');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="robotide.editor.gridcolorizer.Colorizer-class.html">Colorizer</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Colorizer-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="Colorizer-expanded"><a name="L23"></a><tt class="py-lineno"> 23</tt>  <tt class="py-line"> </tt>
<a name="Colorizer.__init__"></a><div id="Colorizer.__init__-def"><a name="L24"></a><tt class="py-lineno"> 24</tt> <a class="py-toggle" href="#" id="Colorizer.__init__-toggle" onclick="return toggle('Colorizer.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.editor.gridcolorizer.Colorizer-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">grid</tt><tt class="py-op">,</tt> <tt class="py-param">controller</tt><tt class="py-op">,</tt> <tt class="py-param">colors</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Colorizer.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Colorizer.__init__-expanded"><a name="L25"></a><tt class="py-lineno"> 25</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_grid</tt> <tt class="py-op">=</tt> <tt id="link-6" class="py-name" targets="Module robotide.editor.grid=robotide.editor.grid-module.html"><a title="robotide.editor.grid" class="py-name" href="#" onclick="return doclink('link-6', 'grid', 'link-6');">grid</a></tt> </tt>
<a name="L26"></a><tt class="py-lineno"> 26</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_controller</tt> <tt class="py-op">=</tt> <tt id="link-7" class="py-name"><a title="robotide.controller
robotide.controller.tags.Tag.controller" class="py-name" href="#" onclick="return doclink('link-7', 'controller', 'link-1');">controller</a></tt> </tt>
<a name="L27"></a><tt class="py-lineno"> 27</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_colors</tt><tt class="py-op">=</tt><tt class="py-name">colors</tt> </tt>
<a name="L28"></a><tt class="py-lineno"> 28</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_current_task_id</tt> <tt class="py-op">=</tt> <tt class="py-number">0</tt> </tt>
<a name="L29"></a><tt class="py-lineno"> 29</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_timer</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
</div><a name="L30"></a><tt class="py-lineno"> 30</tt>  <tt class="py-line"> </tt>
<a name="Colorizer.close"></a><div id="Colorizer.close-def"><a name="L31"></a><tt class="py-lineno"> 31</tt> <a class="py-toggle" href="#" id="Colorizer.close-toggle" onclick="return toggle('Colorizer.close');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.editor.gridcolorizer.Colorizer-class.html#close">close</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Colorizer.close-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Colorizer.close-expanded"><a name="L32"></a><tt class="py-lineno"> 32</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_grid</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
</div><a name="L33"></a><tt class="py-lineno"> 33</tt>  <tt class="py-line"> </tt>
<a name="Colorizer.colorize"></a><div id="Colorizer.colorize-def"><a name="L34"></a><tt class="py-lineno"> 34</tt> <a class="py-toggle" href="#" id="Colorizer.colorize-toggle" onclick="return toggle('Colorizer.colorize');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.editor.gridcolorizer.Colorizer-class.html#colorize">colorize</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">selection_content</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Colorizer.colorize-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Colorizer.colorize-expanded"><a name="L35"></a><tt class="py-lineno"> 35</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_current_task_id</tt> <tt class="py-op">+=</tt> <tt class="py-number">1</tt> </tt>
<a name="L36"></a><tt class="py-lineno"> 36</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_timer</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L37"></a><tt class="py-lineno"> 37</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_timer</tt> <tt class="py-op">=</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">CallLater</tt><tt class="py-op">(</tt><tt class="py-number">1</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_coloring_task</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_current_task_id</tt><tt class="py-op">,</tt> <tt class="py-name">selection_content</tt><tt class="py-op">)</tt> </tt>
<a name="L38"></a><tt class="py-lineno"> 38</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L39"></a><tt class="py-lineno"> 39</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_timer</tt><tt class="py-op">.</tt><tt class="py-name">Restart</tt><tt class="py-op">(</tt><tt class="py-number">50</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_current_task_id</tt><tt class="py-op">,</tt> <tt class="py-name">selection_content</tt><tt class="py-op">)</tt> </tt>
</div><a name="L40"></a><tt class="py-lineno"> 40</tt>  <tt class="py-line"> </tt>
<a name="Colorizer._coloring_task"></a><div id="Colorizer._coloring_task-def"><a name="L41"></a><tt class="py-lineno"> 41</tt> <a class="py-toggle" href="#" id="Colorizer._coloring_task-toggle" onclick="return toggle('Colorizer._coloring_task');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.editor.gridcolorizer.Colorizer-class.html#_coloring_task">_coloring_task</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">task_index</tt><tt class="py-op">,</tt> <tt class="py-param">selection_content</tt><tt class="py-op">,</tt> <tt class="py-param">row</tt><tt class="py-op">=</tt><tt class="py-number">0</tt><tt class="py-op">,</tt> <tt class="py-param">col</tt><tt class="py-op">=</tt><tt class="py-number">0</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Colorizer._coloring_task-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Colorizer._coloring_task-expanded"><a name="L42"></a><tt class="py-lineno"> 42</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">task_index</tt> <tt class="py-op">!=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_current_task_id</tt> <tt class="py-keyword">or</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_grid</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L43"></a><tt class="py-lineno"> 43</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> </tt>
<a name="L44"></a><tt class="py-lineno"> 44</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt id="link-8" class="py-name" targets="Variable robotide.editor.dialoghelps.row=robotide.editor.dialoghelps-module.html#row"><a title="robotide.editor.dialoghelps.row" class="py-name" href="#" onclick="return doclink('link-8', 'row', 'link-8');">row</a></tt> <tt class="py-op">&gt;=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_grid</tt><tt class="py-op">.</tt><tt class="py-name">NumberRows</tt><tt class="py-op">:</tt> </tt>
<a name="L45"></a><tt class="py-lineno"> 45</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_grid</tt><tt class="py-op">.</tt><tt class="py-name">ForceRefresh</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L46"></a><tt class="py-lineno"> 46</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_grid</tt><tt class="py-op">.</tt><tt class="py-name">AutoSizeRows</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L47"></a><tt class="py-lineno"> 47</tt>  <tt class="py-line">        <tt class="py-keyword">elif</tt> <tt class="py-name">col</tt> <tt class="py-op">&lt;</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_grid</tt><tt class="py-op">.</tt><tt class="py-name">NumberCols</tt><tt class="py-op">:</tt> </tt>
<a name="L48"></a><tt class="py-lineno"> 48</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_colorize_cell</tt><tt class="py-op">(</tt><tt id="link-9" class="py-name"><a title="robotide.editor.dialoghelps.row" class="py-name" href="#" onclick="return doclink('link-9', 'row', 'link-8');">row</a></tt><tt class="py-op">,</tt> <tt class="py-name">col</tt><tt class="py-op">,</tt> <tt class="py-name">selection_content</tt><tt class="py-op">)</tt> </tt>
<a name="L49"></a><tt class="py-lineno"> 49</tt>  <tt class="py-line">            <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">CallAfter</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_coloring_task</tt><tt class="py-op">,</tt> <tt class="py-name">task_index</tt><tt class="py-op">,</tt> <tt class="py-name">selection_content</tt><tt class="py-op">,</tt> <tt id="link-10" class="py-name"><a title="robotide.editor.dialoghelps.row" class="py-name" href="#" onclick="return doclink('link-10', 'row', 'link-8');">row</a></tt><tt class="py-op">,</tt> <tt class="py-name">col</tt><tt class="py-op">+</tt><tt class="py-number">1</tt><tt class="py-op">)</tt> </tt>
<a name="L50"></a><tt class="py-lineno"> 50</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L51"></a><tt class="py-lineno"> 51</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_coloring_task</tt><tt class="py-op">(</tt><tt class="py-name">task_index</tt><tt class="py-op">,</tt> <tt class="py-name">selection_content</tt><tt class="py-op">,</tt> <tt id="link-11" class="py-name"><a title="robotide.editor.dialoghelps.row" class="py-name" href="#" onclick="return doclink('link-11', 'row', 'link-8');">row</a></tt><tt class="py-op">+</tt><tt class="py-number">1</tt><tt class="py-op">,</tt> <tt class="py-number">0</tt><tt class="py-op">)</tt> </tt>
</div><a name="L52"></a><tt class="py-lineno"> 52</tt>  <tt class="py-line"> </tt>
<a name="Colorizer._colorize_cell"></a><div id="Colorizer._colorize_cell-def"><a name="L53"></a><tt class="py-lineno"> 53</tt> <a class="py-toggle" href="#" id="Colorizer._colorize_cell-toggle" onclick="return toggle('Colorizer._colorize_cell');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.editor.gridcolorizer.Colorizer-class.html#_colorize_cell">_colorize_cell</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">row</tt><tt class="py-op">,</tt> <tt class="py-param">col</tt><tt class="py-op">,</tt> <tt class="py-param">selection_content</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Colorizer._colorize_cell-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Colorizer._colorize_cell-expanded"><a name="L54"></a><tt class="py-lineno"> 54</tt>  <tt class="py-line">        <tt class="py-name">cell_info</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_controller</tt><tt class="py-op">.</tt><tt id="link-12" class="py-name" targets="Method robotide.controller.stepcontrollers.StepController.get_cell_info()=robotide.controller.stepcontrollers.StepController-class.html#get_cell_info"><a title="robotide.controller.stepcontrollers.StepController.get_cell_info" class="py-name" href="#" onclick="return doclink('link-12', 'get_cell_info', 'link-12');">get_cell_info</a></tt><tt class="py-op">(</tt><tt id="link-13" class="py-name"><a title="robotide.editor.dialoghelps.row" class="py-name" href="#" onclick="return doclink('link-13', 'row', 'link-8');">row</a></tt><tt class="py-op">,</tt> <tt class="py-name">col</tt><tt class="py-op">)</tt> </tt>
<a name="L55"></a><tt class="py-lineno"> 55</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">cell_info</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L56"></a><tt class="py-lineno"> 56</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_set_default_colors</tt><tt class="py-op">(</tt><tt id="link-14" class="py-name"><a title="robotide.editor.dialoghelps.row" class="py-name" href="#" onclick="return doclink('link-14', 'row', 'link-8');">row</a></tt><tt class="py-op">,</tt> <tt class="py-name">col</tt><tt class="py-op">)</tt> </tt>
<a name="L57"></a><tt class="py-lineno"> 57</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> </tt>
<a name="L58"></a><tt class="py-lineno"> 58</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_grid</tt><tt class="py-op">.</tt><tt class="py-name">SetCellTextColour</tt><tt class="py-op">(</tt><tt id="link-15" class="py-name"><a title="robotide.editor.dialoghelps.row" class="py-name" href="#" onclick="return doclink('link-15', 'row', 'link-8');">row</a></tt><tt class="py-op">,</tt> <tt class="py-name">col</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_get_text_color</tt><tt class="py-op">(</tt><tt class="py-name">cell_info</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L59"></a><tt class="py-lineno"> 59</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_grid</tt><tt class="py-op">.</tt><tt class="py-name">SetCellBackgroundColour</tt><tt class="py-op">(</tt><tt id="link-16" class="py-name"><a title="robotide.editor.dialoghelps.row" class="py-name" href="#" onclick="return doclink('link-16', 'row', 'link-8');">row</a></tt><tt class="py-op">,</tt> <tt class="py-name">col</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_get_background_color</tt><tt class="py-op">(</tt><tt class="py-name">cell_info</tt><tt class="py-op">,</tt> <tt class="py-name">selection_content</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L60"></a><tt class="py-lineno"> 60</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_grid</tt><tt class="py-op">.</tt><tt class="py-name">SetCellFont</tt><tt class="py-op">(</tt><tt id="link-17" class="py-name"><a title="robotide.editor.dialoghelps.row" class="py-name" href="#" onclick="return doclink('link-17', 'row', 'link-8');">row</a></tt><tt class="py-op">,</tt> <tt class="py-name">col</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_get_cell_font</tt><tt class="py-op">(</tt><tt id="link-18" class="py-name"><a title="robotide.editor.dialoghelps.row" class="py-name" href="#" onclick="return doclink('link-18', 'row', 'link-8');">row</a></tt><tt class="py-op">,</tt> <tt class="py-name">col</tt><tt class="py-op">,</tt> <tt class="py-name">cell_info</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
</div><a name="L61"></a><tt class="py-lineno"> 61</tt>  <tt class="py-line"> </tt>
<a name="Colorizer._set_default_colors"></a><div id="Colorizer._set_default_colors-def"><a name="L62"></a><tt class="py-lineno"> 62</tt> <a class="py-toggle" href="#" id="Colorizer._set_default_colors-toggle" onclick="return toggle('Colorizer._set_default_colors');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.editor.gridcolorizer.Colorizer-class.html#_set_default_colors">_set_default_colors</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">row</tt><tt class="py-op">,</tt> <tt class="py-param">col</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Colorizer._set_default_colors-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Colorizer._set_default_colors-expanded"><a name="L63"></a><tt class="py-lineno"> 63</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_grid</tt><tt class="py-op">.</tt><tt class="py-name">SetCellTextColour</tt><tt class="py-op">(</tt><tt id="link-19" class="py-name"><a title="robotide.editor.dialoghelps.row" class="py-name" href="#" onclick="return doclink('link-19', 'row', 'link-8');">row</a></tt><tt class="py-op">,</tt> <tt class="py-name">col</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_colors</tt><tt class="py-op">.</tt><tt id="link-20" class="py-name" targets="Variable robotide.editor.gridcolorizer.ColorizationSettings.DEFAULT_TEXT=robotide.editor.gridcolorizer.ColorizationSettings-class.html#DEFAULT_TEXT"><a title="robotide.editor.gridcolorizer.ColorizationSettings.DEFAULT_TEXT" class="py-name" href="#" onclick="return doclink('link-20', 'DEFAULT_TEXT', 'link-20');">DEFAULT_TEXT</a></tt><tt class="py-op">)</tt> </tt>
<a name="L64"></a><tt class="py-lineno"> 64</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_grid</tt><tt class="py-op">.</tt><tt class="py-name">SetCellBackgroundColour</tt><tt class="py-op">(</tt><tt id="link-21" class="py-name"><a title="robotide.editor.dialoghelps.row" class="py-name" href="#" onclick="return doclink('link-21', 'row', 'link-8');">row</a></tt><tt class="py-op">,</tt> <tt class="py-name">col</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_colors</tt><tt class="py-op">.</tt><tt id="link-22" class="py-name" targets="Variable robotide.editor.gridcolorizer.ColorizationSettings.DEFAULT_BACKGROUND=robotide.editor.gridcolorizer.ColorizationSettings-class.html#DEFAULT_BACKGROUND"><a title="robotide.editor.gridcolorizer.ColorizationSettings.DEFAULT_BACKGROUND" class="py-name" href="#" onclick="return doclink('link-22', 'DEFAULT_BACKGROUND', 'link-22');">DEFAULT_BACKGROUND</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L65"></a><tt class="py-lineno"> 65</tt>  <tt class="py-line"> </tt>
<a name="Colorizer._get_text_color"></a><div id="Colorizer._get_text_color-def"><a name="L66"></a><tt class="py-lineno"> 66</tt> <a class="py-toggle" href="#" id="Colorizer._get_text_color-toggle" onclick="return toggle('Colorizer._get_text_color');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.editor.gridcolorizer.Colorizer-class.html#_get_text_color">_get_text_color</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">cell_info</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Colorizer._get_text_color-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Colorizer._get_text_color-expanded"><a name="L67"></a><tt class="py-lineno"> 67</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_colors</tt><tt class="py-op">.</tt><tt id="link-23" class="py-name" targets="Method robotide.editor.gridcolorizer.ColorizationSettings.get_text_color()=robotide.editor.gridcolorizer.ColorizationSettings-class.html#get_text_color"><a title="robotide.editor.gridcolorizer.ColorizationSettings.get_text_color" class="py-name" href="#" onclick="return doclink('link-23', 'get_text_color', 'link-23');">get_text_color</a></tt><tt class="py-op">(</tt><tt class="py-name">cell_info</tt><tt class="py-op">.</tt><tt id="link-24" class="py-name" targets="Variable robotide.controller.cellinfo.CellInfo.content_type=robotide.controller.cellinfo.CellInfo-class.html#content_type"><a title="robotide.controller.cellinfo.CellInfo.content_type" class="py-name" href="#" onclick="return doclink('link-24', 'content_type', 'link-24');">content_type</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L68"></a><tt class="py-lineno"> 68</tt>  <tt class="py-line"> </tt>
<a name="Colorizer._get_background_color"></a><div id="Colorizer._get_background_color-def"><a name="L69"></a><tt class="py-lineno"> 69</tt> <a class="py-toggle" href="#" id="Colorizer._get_background_color-toggle" onclick="return toggle('Colorizer._get_background_color');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.editor.gridcolorizer.Colorizer-class.html#_get_background_color">_get_background_color</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">cell_info</tt><tt class="py-op">,</tt> <tt class="py-param">selection_content</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Colorizer._get_background_color-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Colorizer._get_background_color-expanded"><a name="L70"></a><tt class="py-lineno"> 70</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">cell_info</tt><tt class="py-op">.</tt><tt id="link-25" class="py-name" targets="Method robotide.controller.cellinfo.CellInfo.matches()=robotide.controller.cellinfo.CellInfo-class.html#matches"><a title="robotide.controller.cellinfo.CellInfo.matches" class="py-name" href="#" onclick="return doclink('link-25', 'matches', 'link-25');">matches</a></tt><tt class="py-op">(</tt><tt class="py-name">selection_content</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L71"></a><tt class="py-lineno"> 71</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_colors</tt><tt class="py-op">.</tt><tt id="link-26" class="py-name" targets="Method robotide.editor.gridcolorizer.ColorizationSettings.get_highlight_color()=robotide.editor.gridcolorizer.ColorizationSettings-class.html#get_highlight_color"><a title="robotide.editor.gridcolorizer.ColorizationSettings.get_highlight_color" class="py-name" href="#" onclick="return doclink('link-26', 'get_highlight_color', 'link-26');">get_highlight_color</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L72"></a><tt class="py-lineno"> 72</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">cell_info</tt><tt class="py-op">.</tt><tt id="link-27" class="py-name" targets="Method robotide.controller.cellinfo.CellInfo.has_error()=robotide.controller.cellinfo.CellInfo-class.html#has_error"><a title="robotide.controller.cellinfo.CellInfo.has_error" class="py-name" href="#" onclick="return doclink('link-27', 'has_error', 'link-27');">has_error</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L73"></a><tt class="py-lineno"> 73</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_colors</tt><tt class="py-op">.</tt><tt id="link-28" class="py-name" targets="Method robotide.editor.gridcolorizer.ColorizationSettings.get_error_color()=robotide.editor.gridcolorizer.ColorizationSettings-class.html#get_error_color"><a title="robotide.editor.gridcolorizer.ColorizationSettings.get_error_color" class="py-name" href="#" onclick="return doclink('link-28', 'get_error_color', 'link-28');">get_error_color</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L74"></a><tt class="py-lineno"> 74</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_colors</tt><tt class="py-op">.</tt><tt id="link-29" class="py-name" targets="Method robotide.editor.gridcolorizer.ColorizationSettings.get_background_color()=robotide.editor.gridcolorizer.ColorizationSettings-class.html#get_background_color"><a title="robotide.editor.gridcolorizer.ColorizationSettings.get_background_color" class="py-name" href="#" onclick="return doclink('link-29', 'get_background_color', 'link-29');">get_background_color</a></tt><tt class="py-op">(</tt><tt class="py-name">cell_info</tt><tt class="py-op">.</tt><tt id="link-30" class="py-name" targets="Variable robotide.controller.cellinfo.CellInfo.cell_type=robotide.controller.cellinfo.CellInfo-class.html#cell_type"><a title="robotide.controller.cellinfo.CellInfo.cell_type" class="py-name" href="#" onclick="return doclink('link-30', 'cell_type', 'link-30');">cell_type</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L75"></a><tt class="py-lineno"> 75</tt>  <tt class="py-line"> </tt>
<a name="Colorizer._get_cell_font"></a><div id="Colorizer._get_cell_font-def"><a name="L76"></a><tt class="py-lineno"> 76</tt> <a class="py-toggle" href="#" id="Colorizer._get_cell_font-toggle" onclick="return toggle('Colorizer._get_cell_font');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.editor.gridcolorizer.Colorizer-class.html#_get_cell_font">_get_cell_font</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">row</tt><tt class="py-op">,</tt> <tt class="py-param">col</tt><tt class="py-op">,</tt> <tt class="py-param">cell_info</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Colorizer._get_cell_font-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Colorizer._get_cell_font-expanded"><a name="L77"></a><tt class="py-lineno"> 77</tt>  <tt class="py-line">        <tt id="link-31" class="py-name" targets="Module robotide.context.font=robotide.context.font-module.html"><a title="robotide.context.font" class="py-name" href="#" onclick="return doclink('link-31', 'font', 'link-31');">font</a></tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_grid</tt><tt class="py-op">.</tt><tt class="py-name">GetCellFont</tt><tt class="py-op">(</tt><tt id="link-32" class="py-name"><a title="robotide.editor.dialoghelps.row" class="py-name" href="#" onclick="return doclink('link-32', 'row', 'link-8');">row</a></tt><tt class="py-op">,</tt> <tt class="py-name">col</tt><tt class="py-op">)</tt> </tt>
<a name="L78"></a><tt class="py-lineno"> 78</tt>  <tt class="py-line">        <tt id="link-33" class="py-name"><a title="robotide.context.font" class="py-name" href="#" onclick="return doclink('link-33', 'font', 'link-31');">font</a></tt><tt class="py-op">.</tt><tt class="py-name">SetWeight</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_get_weight</tt><tt class="py-op">(</tt><tt class="py-name">cell_info</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L79"></a><tt class="py-lineno"> 79</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt id="link-34" class="py-name"><a title="robotide.context.font" class="py-name" href="#" onclick="return doclink('link-34', 'font', 'link-31');">font</a></tt> </tt>
</div><a name="L80"></a><tt class="py-lineno"> 80</tt>  <tt class="py-line"> </tt>
<a name="Colorizer._get_weight"></a><div id="Colorizer._get_weight-def"><a name="L81"></a><tt class="py-lineno"> 81</tt> <a class="py-toggle" href="#" id="Colorizer._get_weight-toggle" onclick="return toggle('Colorizer._get_weight');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.editor.gridcolorizer.Colorizer-class.html#_get_weight">_get_weight</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">cell_info</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Colorizer._get_weight-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Colorizer._get_weight-expanded"><a name="L82"></a><tt class="py-lineno"> 82</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">cell_info</tt><tt class="py-op">.</tt><tt id="link-35" class="py-name"><a title="robotide.controller.cellinfo.CellInfo.cell_type" class="py-name" href="#" onclick="return doclink('link-35', 'cell_type', 'link-30');">cell_type</a></tt> <tt class="py-op">==</tt> <tt id="link-36" class="py-name"><a title="robotide.controller.cellinfo.CellType" class="py-name" href="#" onclick="return doclink('link-36', 'CellType', 'link-3');">CellType</a></tt><tt class="py-op">.</tt><tt id="link-37" class="py-name" targets="Variable robotide.controller.cellinfo.CellType.KEYWORD=robotide.controller.cellinfo.CellType-class.html#KEYWORD"><a title="robotide.controller.cellinfo.CellType.KEYWORD" class="py-name" href="#" onclick="return doclink('link-37', 'KEYWORD', 'link-37');">KEYWORD</a></tt><tt class="py-op">:</tt> </tt>
<a name="L83"></a><tt class="py-lineno"> 83</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt id="link-38" class="py-name"><a title="robotide.editor.gridcolorizer.wxFONTWEIGHT_BOLD" class="py-name" href="#" onclick="return doclink('link-38', 'wxFONTWEIGHT_BOLD', 'link-4');">wxFONTWEIGHT_BOLD</a></tt> </tt>
<a name="L84"></a><tt class="py-lineno"> 84</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt id="link-39" class="py-name"><a title="robotide.editor.gridcolorizer.wxFONTWEIGHT_NORMAL" class="py-name" href="#" onclick="return doclink('link-39', 'wxFONTWEIGHT_NORMAL', 'link-5');">wxFONTWEIGHT_NORMAL</a></tt> </tt>
</div></div><a name="L85"></a><tt class="py-lineno"> 85</tt>  <tt class="py-line"> </tt>
<a name="L86"></a><tt class="py-lineno"> 86</tt>  <tt class="py-line"> </tt>
<a name="ColorizationSettings"></a><div id="ColorizationSettings-def"><a name="L87"></a><tt class="py-lineno"> 87</tt> <a class="py-toggle" href="#" id="ColorizationSettings-toggle" onclick="return toggle('ColorizationSettings');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="robotide.editor.gridcolorizer.ColorizationSettings-class.html">ColorizationSettings</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ColorizationSettings-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="ColorizationSettings-expanded"><a name="L88"></a><tt class="py-lineno"> 88</tt>  <tt class="py-line"> </tt>
<a name="L89"></a><tt class="py-lineno"> 89</tt>  <tt class="py-line">    <tt id="link-40" class="py-name"><a title="robotide.editor.gridcolorizer.ColorizationSettings.DEFAULT_TEXT" class="py-name" href="#" onclick="return doclink('link-40', 'DEFAULT_TEXT', 'link-20');">DEFAULT_TEXT</a></tt> <tt class="py-op">=</tt> <tt class="py-string">'black'</tt> </tt>
<a name="L90"></a><tt class="py-lineno"> 90</tt>  <tt class="py-line">    <tt id="link-41" class="py-name"><a title="robotide.editor.gridcolorizer.ColorizationSettings.DEFAULT_BACKGROUND" class="py-name" href="#" onclick="return doclink('link-41', 'DEFAULT_BACKGROUND', 'link-22');">DEFAULT_BACKGROUND</a></tt> <tt class="py-op">=</tt> <tt class="py-string">'white'</tt> </tt>
<a name="L91"></a><tt class="py-lineno"> 91</tt>  <tt class="py-line"> </tt>
<a name="ColorizationSettings.__init__"></a><div id="ColorizationSettings.__init__-def"><a name="L92"></a><tt class="py-lineno"> 92</tt> <a class="py-toggle" href="#" id="ColorizationSettings.__init__-toggle" onclick="return toggle('ColorizationSettings.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.editor.gridcolorizer.ColorizationSettings-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">settings</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ColorizationSettings.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ColorizationSettings.__init__-expanded"><a name="L93"></a><tt class="py-lineno"> 93</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_settings</tt> <tt class="py-op">=</tt> <tt id="link-42" class="py-name" targets="Module robotide.context.settings=robotide.context.settings-module.html,Variable robotide.controller.macrocontrollers.TestCaseController.settings=robotide.controller.macrocontrollers.TestCaseController-class.html#settings,Variable robotide.controller.macrocontrollers.UserKeywordController.settings=robotide.controller.macrocontrollers.UserKeywordController-class.html#settings"><a title="robotide.context.settings
robotide.controller.macrocontrollers.TestCaseController.settings
robotide.controller.macrocontrollers.UserKeywordController.settings" class="py-name" href="#" onclick="return doclink('link-42', 'settings', 'link-42');">settings</a></tt> </tt>
</div><a name="L94"></a><tt class="py-lineno"> 94</tt>  <tt class="py-line"> </tt>
<a name="ColorizationSettings.get_background_color"></a><div id="ColorizationSettings.get_background_color-def"><a name="L95"></a><tt class="py-lineno"> 95</tt> <a class="py-toggle" href="#" id="ColorizationSettings.get_background_color-toggle" onclick="return toggle('ColorizationSettings.get_background_color');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.editor.gridcolorizer.ColorizationSettings-class.html#get_background_color">get_background_color</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">type</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ColorizationSettings.get_background_color-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ColorizationSettings.get_background_color-expanded"><a name="L96"></a><tt class="py-lineno"> 96</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_settings</tt><tt class="py-op">:</tt> </tt>
<a name="L97"></a><tt class="py-lineno"> 97</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-43" class="py-name"><a title="robotide.editor.gridcolorizer.ColorizationSettings.DEFAULT_BACKGROUND" class="py-name" href="#" onclick="return doclink('link-43', 'DEFAULT_BACKGROUND', 'link-22');">DEFAULT_BACKGROUND</a></tt> </tt>
<a name="L98"></a><tt class="py-lineno"> 98</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_get</tt><tt class="py-op">(</tt><tt class="py-string">'background %s'</tt> <tt class="py-op">%</tt> <tt class="py-name">type</tt><tt class="py-op">)</tt> </tt>
</div><a name="L99"></a><tt class="py-lineno"> 99</tt>  <tt class="py-line"> </tt>
<a name="ColorizationSettings.get_text_color"></a><div id="ColorizationSettings.get_text_color-def"><a name="L100"></a><tt class="py-lineno">100</tt> <a class="py-toggle" href="#" id="ColorizationSettings.get_text_color-toggle" onclick="return toggle('ColorizationSettings.get_text_color');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.editor.gridcolorizer.ColorizationSettings-class.html#get_text_color">get_text_color</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">type</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ColorizationSettings.get_text_color-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ColorizationSettings.get_text_color-expanded"><a name="L101"></a><tt class="py-lineno">101</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_settings</tt><tt class="py-op">:</tt> </tt>
<a name="L102"></a><tt class="py-lineno">102</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-44" class="py-name"><a title="robotide.editor.gridcolorizer.ColorizationSettings.DEFAULT_TEXT" class="py-name" href="#" onclick="return doclink('link-44', 'DEFAULT_TEXT', 'link-20');">DEFAULT_TEXT</a></tt> </tt>
<a name="L103"></a><tt class="py-lineno">103</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_get</tt><tt class="py-op">(</tt><tt class="py-string">'text %s'</tt> <tt class="py-op">%</tt> <tt class="py-name">type</tt><tt class="py-op">)</tt> </tt>
</div><a name="L104"></a><tt class="py-lineno">104</tt>  <tt class="py-line"> </tt>
<a name="ColorizationSettings.get_highlight_color"></a><div id="ColorizationSettings.get_highlight_color-def"><a name="L105"></a><tt class="py-lineno">105</tt> <a class="py-toggle" href="#" id="ColorizationSettings.get_highlight_color-toggle" onclick="return toggle('ColorizationSettings.get_highlight_color');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.editor.gridcolorizer.ColorizationSettings-class.html#get_highlight_color">get_highlight_color</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ColorizationSettings.get_highlight_color-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ColorizationSettings.get_highlight_color-expanded"><a name="L106"></a><tt class="py-lineno">106</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-45" class="py-name"><a title="robotide.editor.gridcolorizer.ColorizationSettings.get_background_color" class="py-name" href="#" onclick="return doclink('link-45', 'get_background_color', 'link-29');">get_background_color</a></tt><tt class="py-op">(</tt><tt class="py-string">'highlight'</tt><tt class="py-op">)</tt> </tt>
</div><a name="L107"></a><tt class="py-lineno">107</tt>  <tt class="py-line"> </tt>
<a name="ColorizationSettings.get_error_color"></a><div id="ColorizationSettings.get_error_color-def"><a name="L108"></a><tt class="py-lineno">108</tt> <a class="py-toggle" href="#" id="ColorizationSettings.get_error_color-toggle" onclick="return toggle('ColorizationSettings.get_error_color');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.editor.gridcolorizer.ColorizationSettings-class.html#get_error_color">get_error_color</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ColorizationSettings.get_error_color-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ColorizationSettings.get_error_color-expanded"><a name="L109"></a><tt class="py-lineno">109</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-46" class="py-name"><a title="robotide.editor.gridcolorizer.ColorizationSettings.get_background_color" class="py-name" href="#" onclick="return doclink('link-46', 'get_background_color', 'link-29');">get_background_color</a></tt><tt class="py-op">(</tt><tt class="py-string">'error'</tt><tt class="py-op">)</tt> </tt>
</div><a name="L110"></a><tt class="py-lineno">110</tt>  <tt class="py-line"> </tt>
<a name="ColorizationSettings._get"></a><div id="ColorizationSettings._get-def"><a name="L111"></a><tt class="py-lineno">111</tt> <a class="py-toggle" href="#" id="ColorizationSettings._get-toggle" onclick="return toggle('ColorizationSettings._get');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.editor.gridcolorizer.ColorizationSettings-class.html#_get">_get</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">name</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ColorizationSettings._get-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ColorizationSettings._get-expanded"><a name="L112"></a><tt class="py-lineno">112</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_settings</tt><tt class="py-op">[</tt><tt class="py-string">'Colors'</tt><tt class="py-op">]</tt><tt class="py-op">[</tt><tt id="link-47" class="py-name" targets="Variable robotide.contrib.testrunner.TestSuiteTreeCtrl.TreeNode.name=robotide.contrib.testrunner.TestSuiteTreeCtrl.TreeNode-class.html#name,Variable robotide.contrib.testrunner.runprofiles.CustomScriptProfile.name=robotide.contrib.testrunner.runprofiles.CustomScriptProfile-class.html#name,Variable robotide.contrib.testrunner.runprofiles.PybotProfile.name=robotide.contrib.testrunner.runprofiles.PybotProfile-class.html#name,Variable robotide.controller.settingcontrollers.ImportController.name=robotide.controller.settingcontrollers.ImportController-class.html#name,Variable robotide.controller.settingcontrollers.MetadataController.name=robotide.controller.settingcontrollers.MetadataController-class.html#name,Variable robotide.controller.settingcontrollers.VariableController.name=robotide.controller.settingcontrollers.VariableController-class.html#name,Variable robotide.controller.stepcontrollers.ForLoopStepController.name=robotide.controller.stepcontrollers.ForLoopStepController-class.html#name,Variable robotide.controller.tags.Tag.name=robotide.controller.tags.Tag-class.html#name,Variable robotide.editor.editors.EditorPanel.name=robotide.editor.editors.EditorPanel-class.html#name,Variable robotide.publish.messages.name=robotide.publish.messages-module.html#name"><a title="robotide.contrib.testrunner.TestSuiteTreeCtrl.TreeNode.name
robotide.contrib.testrunner.runprofiles.CustomScriptProfile.name
robotide.contrib.testrunner.runprofiles.PybotProfile.name
robotide.controller.settingcontrollers.ImportController.name
robotide.controller.settingcontrollers.MetadataController.name
robotide.controller.settingcontrollers.VariableController.name
robotide.controller.stepcontrollers.ForLoopStepController.name
robotide.controller.tags.Tag.name
robotide.editor.editors.EditorPanel.name
robotide.publish.messages.name" class="py-name" href="#" onclick="return doclink('link-47', 'name', 'link-47');">name</a></tt><tt class="py-op">.</tt><tt class="py-name">lower</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">replace</tt><tt class="py-op">(</tt><tt class="py-string">'_'</tt><tt class="py-op">,</tt><tt class="py-string">' '</tt><tt class="py-op">)</tt><tt class="py-op">]</tt> </tt>
</div></div><a name="L113"></a><tt class="py-lineno">113</tt>  <tt class="py-line"> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
</script>
</pre>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="robotide-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://code.google.com/p/robotframework-ride">RIDE</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Wed Apr 13 15:09:49 2011
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
